package com.dubbo.lian.cms.modules.app;
 import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
 import java.io.Serializable;
import java.util.Date;
 /**
 * <p>
 * 用户选择的任务列表
 * </p>
 *
 * @author lian
 * @since 2016-12-22
 */
@TableName("user_mission")
public class UserMission extends Model<UserMission> {
 	private static final long serialVersionUID = 1L;
 	/**
	 * 用户任务主ID
	 */
	@TableId(value="user_mission_id",type = IdType.AUTO)
	private Integer userMissionId;
	/**
	 * 用户ID
	 */
	private String userid;
	/**
	 * 任务ID
	 */
	@TableField(value="mission_id")
	private Integer missionId;
	/**
	 * 任务名
	 */
	@TableField(value="mission_name")
	private String missionName;
	/**
	 * 红檬健康币
	 */
	@TableField(value="hongmeng_coin")
	private Integer hongmengCoin;
	/**
	 * 是否完成
	 */
	@TableField(value="is_complete")
	private Integer isComplete;
	/**
	 * 计划阶段
	 */
	@TableField(value="plan_stage")
	private Integer planStage;
	/**
	 * 时间
	 */
	private Date time;
	/**
	 * 是否删除
	 */
	@TableField(value="is_del")
	private Integer isDel;
	/**
	 * 完成时间
	 */
	@TableField(value="complete_time")
	private Date completeTime;
 	@Override
	public String toString() {
		return "UserMission{" +
				"userMissionId=" + userMissionId +
				", userid='" + userid + '\'' +
				", missionId=" + missionId +
				", missionName='" + missionName + '\'' +
				", hongmengCoin=" + hongmengCoin +
				", isComplete=" + isComplete +
				", planStage=" + planStage +
				", time=" + time +
				", isDel=" + isDel +
				", completeTime=" + completeTime +
				'}';
	}
 	public Integer getUserMissionId() {
		return userMissionId;
	}
 	public void setUserMissionId(Integer userMissionId) {
		this.userMissionId = userMissionId;
	}
 	public String getUserid() {
		return userid;
	}
 	public void setUserid(String userid) {
		this.userid = userid;
	}
 	public Integer getMissionId() {
		return missionId;
	}
 	public void setMissionId(Integer missionId) {
		this.missionId = missionId;
	}
 	public String getMissionName() {
		return missionName;
	}
 	public void setMissionName(String missionName) {
		this.missionName = missionName;
	}
 	public Integer getHongmengCoin() {
		return hongmengCoin;
	}
 	public void setHongmengCoin(Integer hongmengCoin) {
		this.hongmengCoin = hongmengCoin;
	}
 	public Integer getIsComplete() {
		return isComplete;
	}
 	public void setIsComplete(Integer isComplete) {
		this.isComplete = isComplete;
	}
 	public Integer getPlanStage() {
		return planStage;
	}
 	public void setPlanStage(Integer planStage) {
		this.planStage = planStage;
	}
 	public Date getTime() {
		return time;
	}
 	public void setTime(Date time) {
		this.time = time;
	}
 	public Integer getIsDel() {
		return isDel;
	}
 	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}
 	public Date getCompleteTime() {
		return completeTime;
	}
 	public void setCompleteTime(Date completeTime) {
		this.completeTime = completeTime;
	}
 	@Override
	protected Serializable pkVal() {
		return this.userMissionId;
	}
 }
